﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace com.ytocargo.Core.FlightCfps
{
    public interface IFlightCfpStore
    {
        Task<List<FlightCfp>> GetUnSengdListAsync(int maxCount);

        Task<List<FlightCfp>> GetUnSengdListAsync(Expression<Func<FlightCfp, bool>> expression, int maxCount);

        Task<FlightCfp> UpdateEntityAsync(FlightCfp flightCfp);

        IQueryable<FlightCfp> GetAll();
    }
}
